package dev.loong.boot3.service;

import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateResult;
import dev.loong.boot3.pojo.User;

import java.util.List;

public interface DocUserService {
    public void saveUser(User user);
    public User getUser(Long id);
    List<User> findUser(String userName, String note, int skip, int limit);
    DeleteResult deleteUser(Long id);
    UpdateResult updateUser(Long id, String userName, String note);
}
